package com.example.demo.service;
import org.springframework.stereotype.Service;

import java.util.*;

import java.util.Calendar;

public interface DateService {

    public Integer[] getCalendarTable();

    public int getYear();

    public int getMonth();

    public int getDay();

    public String getDayInWeek();

    public Date parseDate(String date, String time);

    public String dateFormat(Date date);

    public Date sub(Date a,Date b);

    public String DateDur2Str(Date dur );
}
